<h2 style="text-align: center">{{student.name}}的成绩单</h2>
<i>是否完成学分要求：<a style="color: red">{{creditsum | credit}}</a></i>
<i style="float: right;margin-right: 10px">平均学分绩点：{{GPA | number:'1.4-4'}}</i>
<nz-table #filterTable [nzData]="DisplayData" nzPageSize="100" nzShowPagination="false" nzTableLayout="fixed" [nzLoading]="loading">
  <thead>
  <tr>
    <th
      *ngFor="let column of listOfColumns"
      [nzSortOrder]="column.sortOrder"
      [nzSortFn]="column.sortFn"
      [nzSortDirections]="column.sortDirections"
      [nzFilterMultiple]="column.filterMultiple"
      [nzFilters]="column.listOfFilter"
      [nzFilterFn]="column.filterFn">
      {{ column.name }}
    </th>
  </tr>
  </thead>
  <tbody>
  <tr *ngFor="let data of filterTable.data">
    <td>{{ data.Courseid }}</td>
    <td>{{ data.coursename }}</td>
    <td>{{ data.credit }}</td>
    <td>{{data.type }}</td>
    <td>{{data.score }}</td>
    <td>{{data.gradepoint | gPA }}</td>
  </tr>
  </tbody>
</nz-table>

